package animal;

import com.sun.istack.internal.FinalArrayList;

 public final class Cat extends Dog{
    private String type;
    private String sex;

    Cat(String type, String sex,String colour,String name,int age,double weight) {
        super("黑白","小黑",7,12.8);
        this.type = type;
        this.sex = sex;
    }
    public void lickPaw() {
        System.out.println(this.type+this.name+"正在舔爪子.....");
    }

    public void stretchOneself() {
        System.out.println(this.type+this.name+" 正在伸懒腰.......");
    }

    public static void main(String[] args) {
    }
}
